package com.jdz.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class User {
    private Integer stuno;

    private String stuid;

    private String stuname;

    private String stusex;

    private String stuclass;

    @DateTimeFormat( pattern = "yyyy-MM-dd" )
    private Date stubirth;

    private String stuemail;

    private String stucontent;

    private String stuimgid;

    private String stupassword;

    private Date lockDate;

    private String lockTimes;

    private String profession;

    private Date creattime;

    private String stuinstitute;

    private Integer status;

    public User(Integer stuno, String stuid,String stuname, String stusex, String stuclass, Date stubirth, String stuemail, String stucontent, String stuimgid,  String stupassword, Date lockDate, String lockTimes, String profession,Date creattime,String stuinstitute,Integer status) {
        this.stuno = stuno;
        this.stuid = stuid;
        this.stuname = stuname;
        this.stusex = stusex;
        this.stuclass = stuclass;
        this.stubirth = stubirth;
        this.stuemail = stuemail;
        this.stucontent = stucontent;
        this.stuimgid = stuimgid;
        this.creattime = creattime;
        this.stupassword = stupassword;
        this.lockDate = lockDate;
        this.lockTimes = lockTimes;
        this.profession = profession;
        this.stuinstitute = stuinstitute;
        this.status=status;
    }

    public User() {
        super();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStuinstitute(){
        return stuinstitute;
    }

    public void setStuinstitute(String stuinstitute){
        this.stuinstitute = stuinstitute == null ? null : stuinstitute.trim();
    }

    public Integer getStuno() {
        return stuno;
    }

    public void setStuno(Integer stuno) {
        this.stuno = stuno;
    }

    public String getStuid() {
        return stuid;
    }

    public void setStuid(String stuid) {
        this.stuid = stuid == null ? null : stuid.trim();
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname == null ? null : stuname.trim();
    }

    public String getStusex() {
        return stusex;
    }

    public void setStusex(String stusex) {
        this.stusex = stusex == null ? null : stusex.trim();
    }

    public String getStuclass() {
        return stuclass;
    }

    public void setStuclass(String stuclass) {
        this.stuclass = stuclass == null ? null : stuclass.trim();
    }

    public Date getStubirth() {
        return stubirth;
    }

    public void setStubirth(Date stubirth) {
        this.stubirth = stubirth;
    }

    public String getStuemail() {
        return stuemail;
    }

    public void setStuemail(String stuemail) {
        this.stuemail = stuemail == null ? null : stuemail.trim();
    }

    public String getStucontent() {
        return stucontent;
    }

    public void setStucontent(String stucontent) {
        this.stucontent = stucontent == null ? null : stucontent.trim();
    }

    public String getStuimgid() {
        return stuimgid;
    }

    public void setStuimgid(String stuimgid) {
        this.stuimgid = stuimgid == null ? null : stuimgid.trim();
    }

    public Date getCreattime() {
        return creattime;
    }

    public void setCreattime(Date creattime) {
        this.creattime = creattime;
    }

    public String getStupassword() {
        return stupassword;
    }

    public void setStupassword(String stupassword) {
        this.stupassword = stupassword == null ? null : stupassword.trim();
    }

    public Date getLockDate() {
        return lockDate;
    }

    public void setLockDate(Date lockDate) {
        this.lockDate = lockDate;
    }

    public String getLockTimes() {
        return lockTimes;
    }

    public void setLockTimes(String lockTimes) {
        this.lockTimes = lockTimes == null ? null : lockTimes.trim();
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession == null ? null : profession.trim();
    }
}